﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Pibby.Core.ViewModels
{
	public class PodcastPropertiesViewModel
	{
		public PodcastPropertiesViewModel()
		{
		}

		public PodcastPropertiesViewModel(Podcast p)
			: this (p.Name, p.Feed, p.PublicationDate, p.Description)
		{
		}

		public PodcastPropertiesViewModel(string name, Uri url, DateTime date, string description)
		{
			this.Name = name;
			this.Url = url;
			this.PublicationDate = date;
			this.Description = description;
		}

		public string Name
		{
			get;
			set;
		}

		public Uri Url
		{
			get;
			set;
		}

		public DateTime PublicationDate
		{
			get;
			private set;
		}

		public string Description
		{
			get;
			private set;
		}
	}
}
